﻿namespace XXS.Common.Paginate
{
    public interface IMapFrom<out TR> where TR : class
    {
        TR MapFrom(object source);
    }

    public interface IMapFrom<in T, out TR> where TR : class
    {
        TR MapFrom(T source);
    }

    public interface IMapTo<TR> where TR : class
    {
        TR MapTo(TR destination);
    }
}